/*
 * Copyright (c) 2017. 深圳一七科技. All rights reserved.
 */

package com.yiqi.liebang.feature.mine.dependencies.topic;



import com.yiqi.liebang.feature.mine.contract.TopicContract;
import com.yiqi.liebang.feature.mine.contract.UserContract;
import com.yiqi.liebang.feature.mine.presenter.TopicPresenter;
import com.yiqi.liebang.feature.mine.presenter.UserPresenter;

import dagger.Module;
import dagger.Provides;

/**
 *      LIJUWEN
 * @email yiyayiyayaoljw@gmail.com
 * @date 2018/7/11 9:27
 */
@Module
public class TopicPresenterModule {
    private final TopicContract.View mView;

    public TopicPresenterModule(TopicContract.View mView) {
        this.mView = mView;
    }

    @Provides
    public TopicContract.Presenter provideTopicPresenter(){
        return  new TopicPresenter(mView);
    }

}
